#include <stdio.h>
#include <time.h>

void printTime(struct tm * tt){
	printf("%d,%d,%d,%d\n",tt->tm_year+1900,tt->tm_mon,tt->tm_mday,tt->tm_hour);
}

int main(){
	time_t t=time(NULL);
	printf("%d\n",t);
	clock_t c=clock();
	//t=0;
	struct tm* tt=localtime(&t);
	struct tm* tt2=gmtime(&t);
	printTime(tt);
	printTime(tt2);
	printf("%s\n",ctime(&t));
	return 0;
}